package com.ttbj.constant.order;

/**
 *  全部状态
 */
public enum OrderStateEnum {
	/**
	 * 0-预约状态
	 */
	appointment(0, "预约状态"),
	/**
	 * 1-业务员接单
	 */
	salesman_order_taking(1, "业务员接单"),
	/**
	 * 2-上门确认
	 */
	confirm(2, "上门确认"),
	/**
	 * 3-司机接单
	 */
	driver_order_taking(3, "司机接单"),
	/**
	 * 4-司机接货
	 */
	driver_pick_up_goods(4, "司机接货"),
	/**
	 * 5-司机送达
	 */
	driver_service(5, "司机送达"),
	/**
	 * 6-人工确认
	 */
	artificial_confirm(6, "人工确认"),
	/**
	 * 7-异常单
	 */
	abnormal_order(7, "异常单");

	
	private int code;
	private String desc;
	
	private OrderStateEnum(int code, String desc) {
		this.code = code;
		this.desc = desc;
	}
	
	public int getCode() {
		return code;
	}
	
	public String getDesc() {
		return desc;
	}
}
